package cn.tedu._10vehicle.base.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Configuration;

/**
 * @Configuration注解：表示当前类是一个配置类
 *
 * @MapperScan("cn.tedu._10vehicle.mapper")：表示当前类中定义的Mapper接口，将Mapper接口交给Spring管理
 */
@Configuration
@MapperScan("cn.tedu._10vehicle.mapper")
public class MybatisConfig {
}
